//
//  PWebDRLDAPI.m
//  browserHD
//
//  Created by kevinxuls on 13-5-10.
//  Copyright (c) 2013年 Terry. All rights reserved.
//

#import "PWebDRLDAPI.h"

@implementation PWebDRLDAPI

+ (PWebDRLDAPI *)defaultKit {
    static PWebDRLDAPI *defaultKit;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        defaultKit = [[PWebDRLDAPI alloc] init];
    });
    return defaultKit;
}

- (id)init {
    self = [super init];
    if (self) {
        self.type = [[NSString alloc] initWithString:NSStringFromClass([self class])];
        
        self.selectors = @[@"c2hhcmVkUmVzb3VyY2VMb2FkRGVsZWdhdGU=",
                           //0//+ (id)sharedResourceLoadDelegate;
                           @"d2ViVmlldzppZGVudGlmaWVyRm9ySW5pdGlhbFJlcXVlc3Q6ZnJvbURhdGFTb3VyY2U6",
                           //1//- (id)webView:(id)arg1 identifierForInitialRequest:(id)arg2 fromDataSource:(id)arg3;
                           @"d2ViVmlldzpyZXNvdXJjZTp3aWxsU2VuZFJlcXVlc3Q6cmVkaXJlY3RSZXNwb25zZTpmcm9tRGF0YVNvdXJjZTo=",
                           //2//- (id)webView:(id)arg1 resource:(id)arg2 willSendRequest:(id)arg3 redirectResponse:(id)arg4 fromDataSource:(id)arg5;
                           @"d2ViVmlldzpyZXNvdXJjZTpkaWRSZWNlaXZlQXV0aGVudGljYXRpb25DaGFsbGVuZ2U6ZnJvbURhdGFTb3VyY2U6",
                           //3//- (void)webView:(id)arg1 resource:(id)arg2 didReceiveAuthenticationChallenge:(id)arg3 fromDataSource:(id)arg4;
                           @"d2ViVmlldzpyZXNvdXJjZTpkaWRDYW5jZWxBdXRoZW50aWNhdGlvbkNoYWxsZW5nZTpmcm9tRGF0YVNvdXJjZTo=",
                           //4//- (void)webView:(id)arg1 resource:(id)arg2 didCancelAuthenticationChallenge:(id)arg3 fromDataSource:(id)arg4;
                           @"d2ViVmlldzpyZXNvdXJjZTpjYW5BdXRoZW50aWNhdGVBZ2FpbnN0UHJvdGVjdGlvblNwYWNlOmZyb21EYXRhU291cmNlOg==",
                           //5//- (BOOL)webView:(id)arg1 resource:(id)arg2 canAuthenticateAgainstProtectionSpace:(id)arg3 forDataSource:(id)arg4;
                           @"d2ViVmlldzpjb25uZWN0aW9uUHJvcGVydGllc0ZvclJlc291cmNlOmRhdGFTb3VyY2U6",
                           //6//- (id)webView:(id)arg1 connectionPropertiesForResource:(id)arg2 dataSource:(id)arg3;
                           @"d2ViVmlldzpyZXNvdXJjZTpkaWRSZWNlaXZlUmVzcG9uc2U6ZnJvbURhdGFTb3VyY2U6",
                           //7//- (void)webView:(id)arg1 resource:(id)arg2 didReceiveResponse:(id)arg3 fromDataSource:(id)arg4;
                           @"d2ViVmlldzpyZXNvdXJjZTpkaWRSZWNlaXZlQ29udGVudExlbmd0aDpmcm9tRGF0YVNvdXJjZTo=",
                           //8//- (void)webView:(id)arg1 resource:(id)arg2 didReceiveContentLength:(int)arg3 fromDataSource:(id)arg4;
                           @"d2ViVmlldzpyZXNvdXJjZTpkaWRGaW5pc2hMb2FkaW5nRnJvbURhdGFTb3VyY2U6",
                           //9//- (void)webView:(id)arg1 resource:(id)arg2 didFinishLoadingFromDataSource:(id)arg3;
                           @"d2ViVmlldzpyZXNvdXJjZTpkaWRGYWlsTG9hZGluZ1dpdGhFcnJvcjpmcm9tRGF0YVNvdXJjZTo=",
                           //10//- (void)webView:(id)arg1 resource:(id)arg2 didFailLoadingWithError:(id)arg3 fromDataSource:(id)arg4;
                           @"d2ViVmlldzpwbHVnSW5GYWlsZWRXaXRoRXJyb3I6ZGF0YVNvdXJjZTo=",
                           //11//- (void)webView:(id)arg1 plugInFailedWithError:(id)arg2 dataSource:(id)arg3;
                           @"d2ViVmlldzpkaWRMb2FkUmVzb3VyY2VGcm9tTWVtb3J5Q2FjaGU6cmVzcG9uc2U6bGVuZ3RoOmZyb21EYXRhU291cmNlOg==",
                           //12//- (void)webView:(id)arg1 didLoadResourceFromMemoryCache:(id)arg2 response:(id)arg3 length:(int)arg4 fromDataSource:(id)arg5;
                           @"d2ViVmlldzpyZXNvdXJjZTpzaG91bGRVc2VDcmVkZW50aWFsU3RvcmFnZUZvckRhdGFTb3VyY2U6",
                           //13//- (BOOL)webView:(id)arg1 resource:(id)arg2 shouldUseCredentialStorageForDataSource:(id)arg3;
                           @"d2ViVmlldzpyZXNvdXJjZTp3aWxsQ2FjaGVSZXNwb25zZTpmcm9tRGF0YVNvdXJjZTo=",
                           //14//- (id)webView:(id)arg1 resource:(id)arg2 willCacheResponse:(id)arg3 fromDataSource:(id)arg4;
                           ];
        
    }
    return self;
}

@end
